const docs = {
  service: 'https://www.wolai.com/mszzReNkVvaRqVTJpprWmx',
  alarmLog: '',
  problemRecord: '',
  repair: '',
  repairWorkorder: '',
  template: '',
  webhook: '',
  whitelist: ''
}

export function handleDoc(type) {
  if (!type) {
    return;
  }
  let url = docs[type];
  if (!url) {
    return;
  }
  window.open(url);
}
